package com.example.website.bean;

import java.util.Date;

public class NewsInfor {
    /**
     *
     * 表字段 : news_infor.id
     */
    private Long id;

    /**
     * 新闻标题
     * 表字段 : news_infor.title
     */
    private String title;

    /**
     * 发布人
     * 表字段 : news_infor.send_user_name
     */
    private String sendUserName;

    /**
     * 发布状态 0：草稿 1：发布 （不用）
     * 表字段 : news_infor.status
     */
    private Boolean status;

    /**
     * 新闻动态类型：0：企业新闻 1：行业动态
     * 表字段 : news_infor.type
     */
    private Boolean type;

    /**
     * 创建者
     * 表字段 : news_infor.create_by
     */
    private Long createBy;

    /**
     * 创建时间
     * 表字段 : news_infor.create_date
     */
    private Date createDate;

    /**
     * 更新者
     * 表字段 : news_infor.update_by
     */
    private Long updateBy;

    /**
     * 更新时间
     * 表字段 : news_infor.update_date
     */
    private Date updateDate;

    /**
     * 删除标记
     * 表字段 : news_infor.del_flag
     */
    private Integer delFlag;

    /**
     * 摘要
     * 表字段 : news_infor.remark
     */
    private String remark;

    /**
     * 新闻图片，#分割
     * 表字段 : news_infor.news_img_path
     */
    private String newsImgPath;

    /**
     * 首页推荐 0：不推荐 1：推荐
     * 表字段 : news_infor.spare_one
     */
    private Integer spareOne;

    /**
     * 新闻内容
     * 表字段 : news_infor.content
     */
    private String content;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSendUserName() {
        return sendUserName;
    }

    public void setSendUserName(String sendUserName) {
        this.sendUserName = sendUserName == null ? null : sendUserName.trim();
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Boolean getType() {
        return type;
    }

    public void setType(Boolean type) {
        this.type = type;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getNewsImgPath() {
        return newsImgPath;
    }

    public void setNewsImgPath(String newsImgPath) {
        this.newsImgPath = newsImgPath == null ? null : newsImgPath.trim();
    }

    public Integer getSpareOne() {
        return spareOne;
    }

    public void setSpareOne(Integer spareOne) {
        this.spareOne = spareOne;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}
